<?php
echo $this->Session->flash('auth');
echo $this->Form->create('User', array('url' => array('controller' => 'users', 'action' => 'login')));
?>
<br>
<br>
<br>
<br>
<br>
<table
    style="width: 100px; text-align: left; margin-left: auto; margin-right: auto;"
    border="0" cellpadding="2" cellspacing="2">
    <tbody>

        <tr>
            <td><?php echo $this->Form->input('User.username', array('label' => 'Username', 'title' => 'Username')); ?></td>
        </tr>
        <tr>
            <td><?php echo $this->Form->input('User.password', array('label' => 'Passwort', 'title' => 'Passwort')); ?></td>
        </tr>
        <tr>
            <td><?php echo $this->Form->end('Anmelden'); ?></td>
        </tr>
        <tr>
            <td><?php echo $this->Ajax->link('Passwort vergessen?', array('controller' => 'Users', "action" => "send"), array('update' => 'content', 'indicator' => 'loading')); ?></td>
        </tr>
        <tr>
            <td><?php echo $this->Html->link('Registrieren', array('controller' => 'Users', "action" => "add"), array('title' => 'Registrieren')); ?></td>
        </tr>
    </tbody>
</table>
<br>
